﻿//using System;
//using System.Drawing;

//namespace NiuX;

//public static class ColorExtensions
//{
//    public static System.String ColorToHex(Color actColor)
//    // Translates a .NET Framework Color into a string containing the html hexadecimal
//    // representation of a color. The string has a leading '#' character that is followed
//    // by 6 hexadecimal digits.
//    {
//        ColorTranslator
        
//        return "#" + IntToHex(actColor.R, 2) + IntToHex(actColor.G, 2) + IntToHex(actColor.B, 2);
//    }
//}